#include<iostream>
using namespace std;

class Animal {
public:
	Animal() {
		m_Date = 1;
	}
	int m_Date;
};

class Cat : public Animal {
public:
	Cat() {
		m_Date = 2;
	}
	int m_Date;
};

void test() {
	Cat c;
	cout << c.m_Date << endl;
	cout << c.Animal::m_Date << endl;

	cout << &(c.m_Date) << endl;
	cout << &(c.Animal::m_Date) << endl;
}

int main() {
	test();

	return 0;
}